
package net.lab0.electron.ai;


public class GPVarNode
extends GPNode
{
    private String varName;
    
    @Override
    public double getValue()
    {
        return GPVarList.get(varName);
    }
    
    @Override
    public String toString()
    {
        return varName;
    }
    
    public GPVarNode(String varName)
    {
        this.varName = varName;
    }
}
